package com.atstudy.service;

import com.atstudy.dao.UserDao;
import com.atstudy.dao.UserDaoImpl;
import com.atstudy.entites.User;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/2/2 9:41
 * @copyright: 博为峰
 */
public class UserServiceImpl implements UserService {
    @Override
    public User getUserByName(String name) {
        UserDaoImpl userDao = new UserDaoImpl();
        return userDao.selectByName(name);
    }
}
